package com.hy.controller;

import com.hy.service.impl.FollowServiceImpl;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class FollowController {
    private FollowServiceImpl followService = new FollowServiceImpl();

    public void followOrUnfollowUser(HttpServletRequest request, HttpServletResponse response) throws Exception {
        followService.followOrUnfollowUser(request,response);
    }

    public void selectRecommended(HttpServletRequest request, HttpServletResponse response) throws Exception {


        followService.selectRecommended(request,response);
    }
}
